package com.foreknow.entity;

import java.io.Serializable;
import java.util.Date;

public class Medicaldisease implements Serializable {
    /**
     * ID主键
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 病历ID
     *
     * @mbggenerated
     */
    private Integer medicalid;

    /**
     * 挂号ID
     *
     * @mbggenerated
     */
    private Integer registid;

    /**
     * 疾病ID
     *
     * @mbggenerated
     */
    private Integer diseaseid;

    /**
     * 诊断类型 1-西医 2-中医
     *
     * @mbggenerated
     */
    private Integer diagnosetype;

    /**
     * 发病日期
     *
     * @mbggenerated
     */
    private Date getsiskdate;

    /**
     * 诊断种类 1-初诊 2-终诊
     *
     * @mbggenerated
     */
    private Integer diagnosecate;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMedicalid() {
        return medicalid;
    }

    public void setMedicalid(Integer medicalid) {
        this.medicalid = medicalid;
    }

    public Integer getRegistid() {
        return registid;
    }

    public void setRegistid(Integer registid) {
        this.registid = registid;
    }

    public Integer getDiseaseid() {
        return diseaseid;
    }

    public void setDiseaseid(Integer diseaseid) {
        this.diseaseid = diseaseid;
    }

    public Integer getDiagnosetype() {
        return diagnosetype;
    }

    public void setDiagnosetype(Integer diagnosetype) {
        this.diagnosetype = diagnosetype;
    }

    public Date getGetsiskdate() {
        return getsiskdate;
    }

    public void setGetsiskdate(Date getsiskdate) {
        this.getsiskdate = getsiskdate;
    }

    public Integer getDiagnosecate() {
        return diagnosecate;
    }

    public void setDiagnosecate(Integer diagnosecate) {
        this.diagnosecate = diagnosecate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", medicalid=").append(medicalid);
        sb.append(", registid=").append(registid);
        sb.append(", diseaseid=").append(diseaseid);
        sb.append(", diagnosetype=").append(diagnosetype);
        sb.append(", getsiskdate=").append(getsiskdate);
        sb.append(", diagnosecate=").append(diagnosecate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}